import { getCustomTopStatusLabel } from '../../../utils/order';

export const columns = [
  {
    prop: 'status',
    label: '状态',
    width: 120,
    formatter: getCustomTopStatusLabel,
    search: true
  },
  {
    prop: 'customerId',
    label: '客户ID',
    search: true,
    width: 220
  },

  {
    prop: 'customer',
    label: '客户信息',
    search: true,
    slot: 'customerSlot'
  },
  {
    prop: 'group',
    label: '客户分组',
    search: true,
    width: 100,
    slot: 'groupSlot'
  },

  // {
  //     prop: "customerSource",
  //     label: "客户来源",
  //     width: 150,
  //     search: true,
  // },

  {
    prop: 'category',
    label: '客户类别',
    width: 150,
    slot: 'categorySlot',
    search: true
  },
  {
    prop: 'salesman',
    label: '所属业务员',
    search: true,
    slot: 'salesmanSlot'
  },
  {
    prop: 'createTime',
    label: '入档时间',
    width: 180
  },
  {
    prop: 'remark',
    label: '备注',
    slot: 'remarkSlot'
  },
  {
    prop: 'operation',
    label: '操作',
    fixed: 'right',
    slot: 'operationSlot',
    width: 130
  }
];
